home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / unbound_lambda < prev    next >
Text File  |  2001-04-06  |  1KB  |  25 lines

  1. SYNOPSIS
  2.         closure unbound_lambda(mixed *args, mixed)
  3.  
  4. DESCRIPTION
  5.         Constructs a lambda closure that is not bound to an object,
  6.         like lambda function in LISP.
  7.         The closure cannot contain references to global variables, and
  8.         all lfun closures are inserted as is, since there is no native
  9.         object for this closure. You need to bind it before it can be
  10.         called. Ordinary objects can only bind to themselves, binding
  11.         to other objects causes a privilege violation(). The point is
  12.         that previous_object for calls done from inside the closure
  13.         will reflect the object doing bind_lambda(), and all object /
  14.         uid based security will also refer to this object.
  15.  
  16.         The first argument is an array describing the arguments
  17.         (symbols) passed to the closure upon evaluation by funcall()
  18.         or apply(), the second arg forms the code of the closure.
  19.  
  20. HISTORY
  21.         Introduced in 3.2@82
  22.  
  23. SEE ALSO
  24.         closures(LPC), lambda(E), apply(E), funcall(E), bind_lambda(E)
  25.